home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmListReplacePositions.z / XmListReplacePositions
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss - A List function that replaces items
  10.           in a list based on position
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/List.h>
  14.           vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           iiiinnnntttt ****ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt,
  17.           XXXXmmmmSSSSttttrrrriiiinnnngggg ****iiiitttteeeemmmm____lllliiiisssstttt,
  18.           iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt;;;;);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss replaces noncontiguous items in a
  25.           list. The item at each position specified in _p_o_s_i_t_i_o_n__l_i_s_tis
  26.           replaced with the corresponding entry in _i_t_e_m__l_i_s_t.  When
  27.           the items are inserted into the list, they are compared with
  28.           the current XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss list. Any of the new items that
  29.           match items on the selected list appear selected. A warning
  30.           message is displayed if a specified position is invalid;
  31.           that is, the value is 0 (zero), a negative integer, or a
  32.           number greater than the number of items in the list.
  33.  
  34.           _w_i_d_g_e_t    Specifies the ID of the List widget.
  35.  
  36.           _p_o_s_i_t_i_o_n__l_i_s_t
  37.                     Specifies an array of the positions of items to be
  38.                     replaced. The position of the first item in the
  39.                     list is 1; the position of the second item is 2;
  40.                     and so on.
  41.  
  42.           _i_t_e_m__l_i_s_t Specifies an array of the replacement items.
  43.  
  44.           _i_t_e_m__c_o_u_n_t
  45.                     Specifies the number of elements in _p_o_s_i_t_i_o_n__l_i_s_t
  46.                     and _i_t_e_m__l_i_s_t.  This number must be nonnegative.
  47.  
  48.           For a complete definition of List and its associated
  49.           resources, see XXXXmmmmLLLLiiiisssstttt(3).
  50.  
  51.      RRRREEEELLLLAAAATTTTEEEEDDDD
  52.           XXXXmmmmLLLLiiiisssstttt(3).
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.